package com.sky.skyopsserver.vos;

import com.sky.skyopsserver.utils.BasePageQuery;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class HostPageReqVO extends BasePageQuery {
    
    @Size(max = 255, message = "机器名称长度不能超过255个字符")
    private String name;
    
    @Size(max = 255, message = "机房名称长度不能超过255个字符")
    private String roomName;
    
    private Long roomId;
    
    @Size(max = 255, message = "主机组名称长度不能超过255个字符")
    private String groupName;
    
    private Long groupId;
    
    @Size(max = 255, message = "公网IP地址长度不能超过255个字符")
    private String publicHost;
    
    @Size(max = 255, message = "私有IP地址长度不能超过255个字符")
    private String privateHost;
    
    @Size(max = 50, message = "机器类型长度不能超过50个字符")
    private String type;
    
    @Size(max = 255, message = "系统版本长度不能超过255个字符")
    private String osVersion;
    
    @Size(max = 500, message = "备注长度不能超过500个字符")
    private String remark;
}